<template>
<h1>El组件-下拉选框</h1>
  <el-select placeholder="请选择你喜欢的城市" v-model="city">
    <el-option label="北京" value="bj"></el-option>
    <el-option label="天津" value="tj"></el-option>
    <el-option label="太原" value="ty"></el-option>
    <el-option label="长沙" value="cs"></el-option>
  </el-select>
  <h4>您选择的是:{{city}}</h4>

</template>

<script setup>
import {ref} from "vue";
import HVue from "@/views/HVue.vue";
const city = ref('cs')

</script>

<style scoped>

</style>